package de.ohmhochschule.bme;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;

public class ButtonActivity extends Activity implements OnClickListener {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        // add an event handler to the button:
        View aboutButton = this.findViewById(R.id.btn_OK);
        aboutButton.setOnClickListener(this);
    }

	@Override
	public void onClick(View v) {
		Log.i(getLocalClassName(), "OK button was clicked!");
	}
}